<template>
  <div id="player">
    <div class="cont">
      <p>请输入内容</p>
    </div>
  </div>
</template>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
  export default {
    el: "#player",
    data: {
      query: "",
      musicList: []
    },
    methods: {
      searchMusic: function () {
        axios.get("/search?keywords=" + this.query)
          .then(function (response) {
            console.log(response);
          }, function (err) {})
      }
    },
  }

</script>

<style scoped>
  .cont {
    position: absolute;
    left: 50%;
    top: 30%;
    color: rgb(255, 255, 255, 0.8);
  }

</style>
